package com.xiangban.dao;

import com.xiangban.model.Relation;
import com.xiangban.model.dto.RelationDto;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/12/28 9:02
 */
@Repository
public interface FrontPageMapper {

    List<RelationDto> birthdayToday();
    List<HashMap<String,Object>> hospitalOrderRanking();
    List<HashMap<String,Object>> relationOrderRanking();
    int orderNumber();
    List<Relation> relationNumber();
    int accompanyNumber();
    int todayRelationNumber();
    int todayOrdersNumber();
}
